﻿<Application
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="University.Workshop.ServerApp.App"
             StartupUri="Server.xaml">
    <Application.Resources>
         
    	<Style x:Key="CloseButton" TargetType="{x:Type Button}">
    		<Setter Property="Template">
    			<Setter.Value>
    				<ControlTemplate TargetType="{x:Type Button}">
    					<Grid x:Name="grid">
    						<Ellipse x:Name="ellipse" Stroke="Black">
    							<Ellipse.Fill>
    								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    									<GradientStop Color="#FFFF0202" Offset="0"/>
    									<GradientStop Color="#FFD81D1D" Offset="1"/>
    									<GradientStop Color="#FF411010" Offset="0.518"/>
    								</LinearGradientBrush>
    							</Ellipse.Fill>
    						</Ellipse>
    						<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
    					</Grid>
    					<ControlTemplate.Triggers>
    						<Trigger Property="IsFocused" Value="True"/>
    						<Trigger Property="IsDefaulted" Value="True"/>
    						<Trigger Property="IsMouseOver" Value="True">
    							<Setter Property="Fill" TargetName="ellipse">
    								<Setter.Value>
    									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    										<GradientStop Color="#FF491313" Offset="0"/>
    										<GradientStop Color="#FF370C0C" Offset="1"/>
    										<GradientStop Color="#FFED0B0B" Offset="0.514"/>
    									</LinearGradientBrush>
    								</Setter.Value>
    							</Setter>
    						</Trigger>
    						<Trigger Property="IsPressed" Value="True">
    							<Setter Property="Margin" TargetName="grid" Value="0,0,8,7"/>
    						</Trigger>
    						<Trigger Property="IsEnabled" Value="False"/>
    					</ControlTemplate.Triggers>
    				</ControlTemplate>
    			</Setter.Value>
    		</Setter>
    	</Style>
    	<Style TargetType="{x:Type Button}">
    		<Setter Property="Template">
    			<Setter.Value>
    				<ControlTemplate TargetType="{x:Type Button}">
    					<Grid x:Name="grid">
    						<Path x:Name="Fondo" Data="M164.49142,158.75177 C201.18138,156.71344 215.13757,158.14242 252.61673,158.14242 260.49343,158.14242 307.86156,148.11095 308.92515,160.87398 310.28603,177.20454 304.49993,197.02354 311.92515,211.87398 293.99164,220.84073 269.88492,215.50043 248.50008,215.50043 219.98909,215.50043 188.31772,224.58075 161.37478,211.10927 174.45784,198.02621 176.85849,179.95247 164.49142,158.75177 z" Fill="#FF01011A" Stretch="Fill" Stroke="Black" StrokeThickness="5" Height="Auto" Margin="-8,8,8,-8" VerticalAlignment="Stretch"/>
    						<Path x:Name="path" Data="M164.49142,158.75177 C201.18138,156.71344 215.13757,158.14242 252.61673,158.14242 260.49343,158.14242 307.86156,148.11095 308.92515,160.87398 310.28603,177.20454 304.49993,197.02354 311.92515,211.87398 293.99164,220.84073 269.88492,215.50043 248.50008,215.50043 219.98909,215.50043 188.31772,224.58075 161.37478,211.10927 174.45784,198.02621 176.85849,179.95247 164.49142,158.75177 z" Stretch="Fill" Stroke="Black" StrokeThickness="5">
    							<Path.Fill>
    								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    									<GradientStop Color="#FF006DFF" Offset="0"/>
    									<GradientStop Color="#FF869CA1" Offset="1"/>
    								</LinearGradientBrush>
    							</Path.Fill>
    						</Path>
    						<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" d:IsLocked="True"/>
    					</Grid>
    					<ControlTemplate.Triggers>
    						<Trigger Property="IsFocused" Value="True"/>
    						<Trigger Property="IsDefaulted" Value="True"/>
    						<Trigger Property="IsMouseOver" Value="True">
    							<Setter Property="Fill" TargetName="path">
    								<Setter.Value>
    									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    										<GradientStop Color="#FF578D9F" Offset="0"/>
    										<GradientStop Color="#FF1E2CAD" Offset="1"/>
    									</LinearGradientBrush>
    								</Setter.Value>
    							</Setter>
    						</Trigger>
    						<Trigger Property="IsPressed" Value="True">
    							<Setter Property="Opacity" TargetName="Fondo" Value="0"/>
    							<Setter Property="Margin" TargetName="grid" Value="-9,9,12,-8"/>
    							<Setter Property="StrokeThickness" TargetName="path" Value="5"/>
    						</Trigger>
    						<Trigger Property="IsEnabled" Value="False"/>
    					</ControlTemplate.Triggers>
    				</ControlTemplate>
    			</Setter.Value>
    		</Setter>
    	</Style>
         
    </Application.Resources>
</Application>
